package com.xjscrm.console.dto.chat.setting;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author mingyang.chen create in 2024/3/18 10:43
 */
@Data
public class ChatAllocateRuleJsonDTO {

    @ApiModelProperty("会话分配")
    private SessionAllocate session;
    @ApiModelProperty("员工分配")
    private StaffAllocate staff;

    @Data
    public static class SessionAllocate {

    }

    @Data
    @NoArgsConstructor
    public static class StaffAllocate {

        @ApiModelProperty("模式. 100: 负载均衡, 101: 随机分配")
        private Integer mode;

        public StaffAllocate(Integer mode) {
            this.mode = mode;
        }
    }
}
